{literal}
<link rel="stylesheet" type="text/css" href="/css/fancy.css" media="screen" />
<script type="text/javascript" src="/js/jquery-1.2.6.js"></script>
<script type="text/javascript" src="/js/jquery.pngFix.pack.js"></script>
<script type="text/javascript" src="/js/jquery.fancybox-1.0.0.js"></script>

<script type="text/javascript">
        jQuery(document).ready(function(){
           	jQuery("div#zooming22 a#photo22,img#photo21,img#photo20").fancybox({ 'hideOnContentClick': true, 'overlayShow': true });
        });
</script>
{/literal}
<div id="zooming22">
<table cellpadding="0" cellspacing="0" border="0" width="66%">
	<tr>
		<td  width="100%">
			<table cellpadding="0" cellspacing="0" border="0" width="66%">
				<tr>
					<td align="left" width="25%" style="padding-right:3px;"><input type="text" style="width:100%;"  class="grey" value="Ключевое слово" onfocus="value=''"/></td>
					<td width="25%" style="padding-left:5px;">
						<select  style="width:100%; height:19px;" class="grey">
							<option>По отелям</option>
							<option>2</option>
							<option>3</option>
						</select>
					</td>
					<td width="25%" style="padding-left:5px;">
						<select  style="width:100%; height:19px;"  class="grey">
							<option>Турция</option>
							<option>Египет</option>
							<option>Тайланд</option>
						</select>
					</td>
					<td width="25%" style="padding-left:5px;">
						<select  style="width:100%; height:19px;"  class="grey">
							<option>Хургада</option>
							<option>Шарм</option>
							<option>Таба</option>
						</select>
					</td>
					<td align="right" style="padding-left:5px;"><input type="button" value="Найти" class="but" height="15px"></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td style="padding-top:10px;"><a class="grey">Отзывы требующие модерации</a></td>
	</tr>
	<!--<tr>
		<td style="padding-top:10px;"><a class="grey6" style="font-weight:bold;">По имени</a>&nbsp;&nbsp;&nbsp;<a href="#" class="grey6">По видео</a>&nbsp;&nbsp;&nbsp;<a href="#" class="grey6">По фото</a>&nbsp;&nbsp;&nbsp;<a href="#" class="grey6">По отзывам</a></td>
	</tr>-->
	<tr>
		<td width="100%" style="padding-top:10px;">
			<table  cellpadding="0" cellspacing="0" border="0" width="100%">
				{assign var=TC value=$Feedbacks->country_id}
				{assign var=TR value=$Feedbacks->resort_id}
				{assign var=TH value=$Feedbacks->hotel_id}
				<tr>
					<td width="100%" align="left" style="padding-right:10px;">
						<table cellpadding="0" cellspacing="0" border="0" width="100%">
							<tr>
								<td valign="top">
									<table cellpadding="0" cellspacing="2" width="100%" border="0">
										<tr>
											<td colspan="2"><a class="grey5" style="font-weight:bold;">Дата отдыха</a> <a class="red" style="font-weight:bold;">с {$Feedbacks->date_from|date_format:"%d-%m-%Y"} по {$Feedbacks->date_to|date_format:"%d-%m-%Y"}</a> <a class="grey5" style="font-weight:bold;">Автор</a> <a class="a_menu_non">{$Feedbacks->getDictionary('full_name', 'tv_users', 'user_id', 'id')} ({$Feedbacks->getDictionary('login', 'tv_users', 'user_id', 'id')})</a></td>
										</tr>
										<tr>
											<td style="padding-top:10px;" width="80px" valign="top">
												<a class="grey5" style="font-weight:bold;">Страна:<br/>Курорт:<br/>Отель:<br>Текст&nbsp;отзыва:<br></a>
											</td>
											<td style="padding-top:10px;" valign="top">
												<a class="grey5">{$TurtessCountry.$TC}<br>{$TurtessResort.$TR}<br>{$TurtessHotel.$TH}<br>{$Feedbacks->text}</a>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td colspan="2" align="right">
						{if $Feedbacks->is_show < 3}
							<a href=/feedback/publish/?id={$Feedbacks->getPk()} class="red"><span
					style="font-weight: bold;">Опубликовать отзыв</span></a> 
							<a href=/feedback/delete/?id={$Feedbacks->getPk()} class="red">Удалить отзыв</a>
						{/if}
						<a href=/feedback/moderate/ class="red">Вернуться</a>
					</td>
				</tr>
				<tr>
					<td colspan="2"><hr></td>
				</tr>
				{if $Videos}
				<tr>
					<td colspan="2" class=red>
						Добавленное видео  
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<table cellpadding="0" cellspacing="3" border="1" width="100%">
							<tr>
								{foreach item=Video from=$Videos}
								<td width="50%">
									<table cellpadding="0" cellspacing="0" border="0" width="100%">
										<tr>
											<td rowspan="2" width="50px" align="left" style="padding-right:10px;"><img src="/upload/tmp/{$Video->file_name}-thumb.jpg"  width="50"></td><td valign="top"><a class="grey">{$Video->alt_text}</a></td>
										</tr>
										<tr>
											<td valign="bottom" align="left"><a href="/feedback/deletevideo?id={$Video->getPk()}" class="grey">Удалить</a></td>
										</tr>
									</table>
								{cycle values="</td>,</td></tr><tr>"}
								{/foreach}
							</tr>
						</table>	
					</td>
				</tr>
				<tr>
					<td colspan="2"><hr></td>
				</tr>
				{/if}
				{if $Images}
				<tr>
					<td colspan="2" class=red>
						Добавленные фотографии  
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<table cellpadding="0" cellspacing="3" border="1" width="100%">
							<tr>
								{foreach item=Image from=$Images}
								<td width="50%">
									<table cellpadding="0" cellspacing="0" border="0" width="100%">
										<tr>
											<td rowspan="2" width="50px" align="left" style="padding-right:10px;">
												<img id="photo{$Image->getPk()}" src="/upload/images/{$path}/{$Image->file_name}"  width="50">
											</td>
											<td valign="top"><a class="grey">{$Image->alt_text}</a></td>
										</tr>
										<tr>
											<td valign="bottom" align="left">
												<a id="photo{$Image->getPk()}" href="/upload/images/{$path}/{$Image->file_name}" class="grey">Просмотреть</a>
												<a href="/feedback/deleteimage?id={$Image->getPk()}" class="grey">Удалить</a>
											</td>
										</tr>
									</table>
								{cycle values="</td>,</td></tr><tr>"}
								{/foreach}
							</tr>
						</table>	
					</td>
				</tr>
				<tr>
					<td colspan="2"><hr></td>
				</tr>
				{/if}
			</table>
		</td>
	</tr>
</table>
</div>